package com.macro.mall.tiny.modules.foster.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.macro.mall.tiny.modules.foster.model.AlipayOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.macro.mall.tiny.modules.foster.model.dto.ItemDTO;
import com.macro.mall.tiny.modules.foster.model.dto.PetAndTimeDTO;

/**
 * <p>
 * 支付宝支付订单表 服务类
 * </p>
 *
 * @author zhuyi
 * @since 2024-04-02
 */
public interface AlipayOrderService extends IService<AlipayOrder> {

    AlipayOrder createAppointOrder(PetAndTimeDTO timeDTO);

    AlipayOrder createItemOrder(ItemDTO itemDTO);

    Page<AlipayOrder> pageItem(Page<AlipayOrder> page, Integer type,Long userId);
}
